<?php /* Smarty version 2.6.19, created on 2010-10-27 14:18:00
         compiled from uc_myproduct_all_content.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'number_format', 'uc_myproduct_all_content.html', 29, false),)), $this); ?>
<script type="text/javascript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
</script>
<table width="95%" border="0" align="center" cellpadding="4" cellspacing="4">
  <tr>
    <td width="30%" style="font-size:13px">总共查询到<span style="color:#900"><?php echo $this->_tpl_vars['productcount']; ?>
</span>个记录</td>
    <td width="70%" align="right">&nbsp;</td>
  </tr>
</table>
<?php if ($this->_tpl_vars['productcount'] != '0'): ?>
<table width="95%" border="0" align="center" cellpadding="1" cellspacing="1">
      <tr bgcolor="#EAF3FD">
        <td align="center"><strong>图片</strong></td>
        <td><strong>书名</strong></td>
        <td align="left" ><strong>订单号</strong></td>
        <td align="left"><strong>价钱</strong></td>
        <td align="center"><strong>状态</strong></td>
        <td align="center"><strong>下载</strong></td>
  </tr>
      <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['allrs']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
      <tr>
        <td width="55" align="center" style="padding:3px"><a href="book_show.php?id=<?php echo $this->_tpl_vars['allrs'][$this->_sections['i']['index']]['myid']; ?>
" target="_blank"><img src="<?php echo $this->_tpl_vars['allrs'][$this->_sections['i']['index']]['minpic']; ?>
" alt="" name="" width="37" height="40" border="0" /></a></td>
        <td width="359"><a href="book_show.php?id=<?php echo $this->_tpl_vars['allrs'][$this->_sections['i']['index']]['myid']; ?>
" target="_blank"  ><span style="color:#039; text-decoration:underline"><strong><?php echo $this->_tpl_vars['allrs'][$this->_sections['i']['index']]['topicname']; ?>
</strong></span></a></td>
        <td width="192" align="left" ><a href="uc_order.php?keyword=<?php echo $this->_tpl_vars['allrs'][$this->_sections['i']['index']]['dingdanhao']; ?>
&item=dingdanhao&show=all"  ><span style="color:#039; text-decoration:underline"><?php echo $this->_tpl_vars['allrs'][$this->_sections['i']['index']]['dingdanhao']; ?>
</span></a></td>
        <td width="104" align="left"><?php echo ((is_array($_tmp=$this->_tpl_vars['allrs'][$this->_sections['i']['index']]['price_y'])) ? $this->_run_mod_handler('number_format', true, $_tmp, 2) : number_format($_tmp, 2)); ?>
 Z币</td>
        <td width="151" align="center"><?php echo $this->_tpl_vars['allrs'][$this->_sections['i']['index']]['zt']; ?>
</td>
        <td width="70" align="center"><input 	<?php if ($this->_tpl_vars['allrs'][$this->_sections['i']['index']]['zhuangtai'] != '2'): ?> disabled="disabled"<?php endif; ?>	 type="button" id="kk333"  style="height:25px; width:50px" onclick="MM_openBrWindow('uc_download.php?id=<?php echo $this->_tpl_vars['allrs'][$this->_sections['i']['index']]['id']; ?>
','','scrollbars=yes,resizable=yes,width=400,height=150')" value=" 下载 " /></td>
  </tr>
      <?php endfor; endif; ?>
      <tr>
        <td colspan="6" bgcolor="#eeeeee"  height="1"></td>
  </tr>
</table>
   <table width="95%" border="0" align="center" cellpadding="4" cellspacing="4">
  <tr>
    <td width="30%">&nbsp;</td>
    <td width="70%" align="right"><?php echo $this->_tpl_vars['pagetext']; ?>
</td>
  </tr>
</table>
<?php else: ?>
<table width="457" border="0" align="center" cellpadding="4" cellspacing="4">
  <tr>
    <td width="441" colspan="3" align="center" valign="middle">没有查询到相关的记录！</td>
  </tr>
</table>
<?php endif; ?>